package com.zhb.sys.shiro.user.service;
import java.util.List;

import com.zhb.sys.shiro.model.User;
/**
 * User服务接口。
 * 
 * @author zhb
 *
 */
public interface UserService {

	String selectPasswordByUserName(String username);

	List<User> selectUserByCondition(User user);

	int insert(User user);

	User selectUserById(String userId);

	int update(User user);

	int delete(String id);

	User selectUserRoleAndFunctionByUserName(String userName);

	void saveBatch(List<User> users);
}
